package com.mygdx.game_helper;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.TextureRegion;

public class AssetLoader {

	private static Texture chicktt, ducktt, swantt, eggstt, shittt, baskettt, bgtt;
	public static TextureRegion chicken, duck, swan, eggs, shit, basket, bg;
	public static BitmapFont score, live, gameOver;
	
	public static void load() {
		chicktt = new Texture(Gdx.files.internal("Images/ga.png"));
		chicken = new TextureRegion(chicktt);
		chicken.flip(false, true);
		ducktt = new Texture(Gdx.files.internal("Images/vit.png"));
		duck = new TextureRegion(ducktt);
		duck.flip(false, true);
		swantt = new Texture(Gdx.files.internal("Images/ngan.png"));
		swan = new TextureRegion(swantt);
		swan.flip(false, true);
		eggstt = new Texture(Gdx.files.internal("Images/egg.png"));
		eggs = new TextureRegion(eggstt);
		eggs.flip(false, true);
		shittt = new Texture(Gdx.files.internal("Images/shit.png"));
		shit = new TextureRegion(shittt);
		shit.flip(false, true);
		baskettt = new Texture(Gdx.files.internal("Images/Ro.png"));
		basket = new TextureRegion(baskettt);
		basket.flip(false, true);
		bgtt = new Texture(Gdx.files.internal("Images/bg.jpg"));
		bg = new TextureRegion(bgtt);
		bg.flip(false, true);
	}

	public static void dispose() {
		// TODO Auto-generated method stub
		chicktt.dispose();
		ducktt.dispose();
		swantt.dispose();
		shittt.dispose();
		eggstt.dispose();
		baskettt.dispose();
		bgtt.dispose();
	}
	
}
